﻿<%@ Page Language="C#" MasterPageFile="~/Masters/Office.Master" AutoEventWireup="true" CodeBehind="ModuleDefinition.aspx.cs" Inherits="ASPNETVN.PORTAL.Modules.MODULE.ModuleDefinition" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="ModuleContent">
        <br />
        <fieldset>
            <legend>Cài đặt module</legend>
            <br />
            <table cellspacing="1" cellpadding="3" border="0" width="1%">
                <tbody>
                    <tr>
                        <td class="SubHead" width="1%" nowrap="noWrap">
                            Đường dẫn chứa tập tin cấu hình (xml):
                        </td>
                        <td width="1%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="1%" nowrap="noWrap">
                            <asp:TextBox ID="txtXmlPath" runat="server" MaxLength="150" Columns="30" Width="300px"></asp:TextBox>
                            <asp:LinkButton ID="btnReadXml" runat="server" onclick="btnReadXml_Click">Đọc nội dung</asp:LinkButton>
                        </td>
                        <td width="1%">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtXmlPath" ErrorMessage="Chưa nhập đường dẫn chứa tập tin cấu hình" CssClass="Error" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="SubHead" width="1%" nowrap="noWrap">
                            Tên module:
                        </td>
                        <td width="1%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td width="1%" nowrap="noWrap">
                            <asp:TextBox ID="txtModuleName" runat="server" MaxLength="150" Columns="30" Width="300px"></asp:TextBox>
                        </td>
                        <td width="1%" nowrap="nowrap">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtModuleName" ErrorMessage="Chưa nhập tên module" CssClass="Error" Font-Bold="False" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="SubHead" nowrap width="1%">
                            Tập tin nguồn:
                        </td>
                        <td width="1%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td nowrap width="1%">
                            <asp:TextBox ID="txtSourceFile" runat="server" Columns="30" Width="300px"></asp:TextBox>
                        </td>
                        <td width="1%" nowrap="nowrap">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSourceFile" ErrorMessage="Chưa nhập tập tin nguồn" CssClass="Error" Font-Bold="False" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="SubHead" nowrap="nowrap" width="1%">
                            GUID:
                        </td>
                        <td width="1%">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td nowrap="nowrap" width="1%">
                            <asp:TextBox ID="txtGUID" runat="server" Columns="30" Width="300px"></asp:TextBox>
                        </td>
                        <td width="1%" nowrap="nowrap">
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSourceFile" CssClass="Error" Display="Dynamic" ErrorMessage="Chưa nhập GUID" Font-Bold="False"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </tbody>
            </table>
        </fieldset>
        <br />
        <hr />
        <br />
        <asp:LinkButton ID="btnUpdate" runat="server" Text="Cập nhật" OnClick="btnUpdate_Click"></asp:LinkButton>
        <asp:LinkButton ID="btnCancel" runat="server" Text="Quay lại" CausesValidation="False" OnClick="btnCancel_Click"></asp:LinkButton>
        <asp:LinkButton ID="btnDelete" runat="server" Text="Gỡ bỏ" CausesValidation="False" OnClick="btnDelete_Click"></asp:LinkButton>
    </div>
    <br />
    <br />
</asp:Content>
